package com.tong.hao.ac.db.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;

/**
 * <p>
 * 账户类型表
 * </p>
 *
 * @author 彤彤
 * @since 2020-05-06
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
public class AcAccountClass implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 账户类型编号
     */
    @TableId("account_id")
    private String accountId;

    /**
     * 上级账户类型编号(account_id为顶级账户类别时,该字段没有值)
     */
    @TableField("account_parent_id")
    private String accountParentId;

    /**
     * 账户类型级别(数字越小,级别越大,从1开始递增)
     */
    @TableField("account_level")
    private Integer accountLevel;

    /**
     * 描述
     */
    @TableField("account_desc")
    private String accountDesc;

    /**
     * 是否有效(Y-有效;N-无效)
     */
    @TableField("account_status")
    private String accountStatus;

}
